home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-06-19 | 2.6 KB | 63 lines | [TEXT/TEXT] |
- Intro:
-
- DALtool.6 and DALtool.7 provide a minimal environment in which you can enter in
- DAL fragments and see their results (assuming your Mac is attached to a network
- that contains a DAL server, of course!) I think these programs are much better
- than the DAL fragment testers distributed with some of the DAL development
- packages. (On the otherhand, my routines could use *a lot* of cleaning
- up, etc....next version ;-))
-
- I apologize for there being two different programs, but this way the different
- calls to the DAL API are absolutely separated and a smaller amount of confusion
- should be had by all.
-
- Browsing the Code:
-
- I hacked this code together pretty quickly, and as such is mostly undocumented...
- The module DalDalInterface.c contains the meaty stuff if you want to see
- DAL API calls in action. Pretty much everything else is there purely for the
- interface...much of that was lifted from the Macintosh Programming Primer
- series...all mistakes and ugliness are purely my fault.
-
- To use:
-
- Start a session link with a server by choosing New session and enter your
- connection info. Be sure that your Hosts.cl1 file is properly set up (under
- System 6) or you DAL Preferences file under System 7. Those files should
- contain examples of the proper layout of a node definition...welcome to the
- black art of DAL networking...
-
- Assuming that the entry window comes up, and the output section says that
- a successful connection was made, you can start entering DAL fragments. (If
- the app was unsuccessful in starting a session, check your Hosts/Preferences
- file and your network connection. Also check that your server is alive.)
-
- Enter DAL code in the upper input window and send/execute them by pressing the
- Enter key.
-
- Misc.:
-
- I included a sample text file test.dal which you can modify for your own site.
- Also, cut and paste the samples in the accompanying paper to test those functions
- and procedures.
-
- WARNING: always work on a copy of your database on the server...Murphy's Law
- loves rearing its ugly head on databases.
-
- If you are interested in discussing/swapping additional DAL aware programs/
- fragments/what-have-you, please feel free to contact me...I have
- been working on Rdb projects under VMS and a variety of other DBMS systems
- under Ultrix for quite some time now. Getting my feet wet in the Macintosh
- DAL world has been fun. I hope some of the experiences I have passed on are
- remotely helpful to you.
-
- -Chris Haupt
-
- Reach me at:
-
- Christopher Haupt--ISC Software Support VOICENET: (716) 475 5342
- BITNET :cfhacc@ritvax.bitnet INTERNET: cfhacc@ritvax.isc.rit.edu
- SNAILNET:RIT;ISC;One Lomb Memorial Dr.;PO BOX 9887;Rochester NY 14623-0887 USA
-
-
-